de.ueberdosis.util
Class OutputCtr

java.lang.Object
  |
  +--de.ueberdosis.util.OutputCtr

public class OutputCtr
extends java.lang.Object

cheap output controlling. Decreases the debug output in production environment.


Method Summary
static void print(int lvl, java.lang.Object o)
           
static void println(int lvl, java.lang.Object o)
           
static void setLevel(int lvl)
          Sets the debug level
static void setStream(java.io.PrintStream s)
          Changes the output from System.out
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

println

public static void println(int lvl,
                           java.lang.Object o)

print

public static void print(int lvl,
                         java.lang.Object o)

setLevel

public static void setLevel(int lvl)
Sets the debug level


setStream

public static void setStream(java.io.PrintStream s)
Changes the output from System.out